Copy Mesh to Face

Description

This is a tool to copy mesh to geometry face. It can be also used to create cyclic mesh with different methods. Note that the tool currently only works for geometry based 2d mesh. Use this tool when you want to:

· Create cyclic meshes based very regular geometry patterns.

· Copy a mesh to another geometry face, if the target mesh can be mapped to the geometry face by transformations, within the specified search tolerance and cleanup tolerance.

Quick Review

There are four methods in this tool, each method is used for specific case. No matter what method you are using, the source mesh should be mapped to the target face by transformation.

Method

Application Case

Translate

Use this method when the target face can be reached by translating the source mesh, with the consistent centroid and face normal.

Revolve

Use this method when the target face is a revolved face about a single axis for the source mesh. The revolving axis is determined by another face.

Mirror

Use this method when the target feature is the mirrored version of the source mesh.

Edge-to-Edge Mapping

Use this method when the source and target can be aligned edge to edge.

Parameters

Description

Search distance

Maximum distance used to search for matching target geometry when the mesh is associated. Increase this value if the source mesh is close to the target face but association still fails; decrease it if incorrect nearby geometry is being matched.

Cleanup tolerance

Tolerance used when cleaning up the associated mesh after control elements are created. Use a smaller value to preserve geometric detail; increase it only if small gaps or overlaps remain after association and you want a more aggressive tidy-up.

Keep mesh controls on target face

The option is to create mesh control mesh on the target face. Check it on if you want to keep the copied mesh as mesh control mesh.

Workflow

For many cases, all the four methods can get the same results. But if one method fails to achieve the expected result, you can switch to other methods.

For example, translate method may create misaligned meshes due to inconsistent face normals or centroids for some geometry faces. Then you should try to use other three methods.

1. Translate copy method:

Step 1: Select the source mesh that you want to copy and click MMB.

Step 2: Select the target face that you want to copy the mesh to and click MMB.

Below picture is an example. The top meshes should be the same with the bottom meshes.

The result:

You can also copy a mesh to a large surface like below with keep mesh control on target face.

After executing, you can see the copied mesh is now associated with the larger face:

We can continue to mesh the larger face with different mesh size and check the mesh control elements are still maintained.

2. Revolve method:

Step 1: Select the source mesh that you want to copy and click MMB.

Step 2: Select the target face that you want to copy the mesh to and click MMB.

Step 3: Select the reference face that defines the axis of revolution and click MMB or Apply button.

Below picture is an example. The left face mesh is the source mesh, the right face is the target face, the center face is the reference face to determine the axis.

The result:

3. Mirror method:

Step 1: Select the source mesh that you want to copy and click MMB.

Step 2: Select the target face that you want to copy the mesh to and click MMB.

Below picture is an example. The two submeshes are on one side faces. They are mirrored to the

The result:

4. Edge-to-Edge method:

Step 1: Select the source mesh that you want to copy and click MMB.

Step 2: Select the target face that you want to copy the mesh to and click MMB.

Step 3: Select an edge on the source mesh and press Ctrl on keyboard to select an edge on the target face to define the mapping and click MMB or Apply button.

Below picture shows the result with this method:

Tips

1. If source and target geometry are very complex, you may need to associate mesh incrementally to avoid failure. For example, reparent the elements out of the mesh body to a new mesh body, and then associate the small mesh body to the geometry.

2. If the geometry is very simple, but still fails to associate mesh, you may need to adjust the search tolerance and cleanup tolerance. The search tolerance and cleanup tolerance should be not too small or too large. The default value of 0.1mm is a reasonable trial value.

3. If the mesh is associated as the mesh control elements, you cannot remesh the surface since they will be retained as control elements. If you want to remesh the surface, please open Mesh Control tool, set picking filter to control mesh and select the control mesh to remove it, then you can remesh or delete the geometry.

Additional Notes

1. Use Translate when the source and target faces have the same orientation and only need a rigid offset.

2. Use Revolve when the target geometry is a periodic face generated around an axis and the mesh must follow that rotation.

3. Use Mirror for symmetric models when the target face is the reflected version of the source mesh across a plane.

4. Use Edge-to-Edge Mapping when the source and target can be matched by corresponding edges and the mesh needs a more guided alignment.